package com.tanhua.commons;

import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;

public class Test {
    public static void main(String[] args) {
        String a = "1-2";
        String[] split = a.split("-");
        System.out.println(split[0]);
    }
}
